package mycom.monster.vo;
public class ChildVO {

	private int num;
	private String grade;
	private String name;
	private String address;
	private String tel;
	private String pName;

	//constructor
	public ChildVO(int num,  String grade, String name,String tel, String address,
			String pName) {
		super();
		this.num = num;
		this.grade = grade;
		this.name = name;
		this.address = address;
		this.tel = tel;
		this.pName = pName;
	}
	
	//getter and setter
	public int getNum() {
		return num;
	}
	public void setNum(int num) {
		this.num = num;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}

	@Override
	public String toString() {
		return  num+"|"+"\t"+grade+"|"+"\t"+name+"|"+"\t"+address+"|"+"\t"+tel+"|"+"\t"+pName+"\t\n";
	}
	
	

	
		
}
